package com.diy.service.service.user;

import com.diy.common.bussiness.service.defaultOperation.defaultBaseManagerHandler;
import com.diy.service.module.model.UserBean;
import com.diy.service.module.queryParams.UserQueryParamsBean;
import org.springframework.stereotype.Service;

import javax.xml.ws.ServiceMode;

/**
 * 用户创建
 */
@Service
public class UserCreateServiceImpl extends defaultBaseManagerHandler<UserBean,UserQueryParamsBean> {

    @Override
    protected UserBean saving(UserQueryParamsBean arg) {
        UserBean userBean=new UserBean();
        userBean.setId(1L);
        userBean.setName("test user");
        userBean.setStatus(1);
        return userBean;
    }

}
